<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<!--
    文件上传，method必须是post
    enctype="multipart/form-data"
    action: 提交给Servlet哪个路径
-->
<form action="http://localhost:8080/upload"
      method="post"
      enctype="multipart/form-data">
    <input type="file" name="abc"/>
    <input type="submit" value="提交"/>
</form>

</body>
</html>